package com.left.tcc.order.enums;

public enum OrderStatusEnum {
    //订单try
    CONFIRM((byte) 0, "已拍下"),
    //订单cancel
    CONFIRM_FAIL((byte) 1, "拍下失败"),
    //订单confirm
    NOT_PAY((byte) 2, "未支付"),
    //支付confirm
    PAY_SUCCESS((byte) 3, "支付成功"),
    //支付cancel
    PAY_FAIL((byte) 4, "支付失败");

    private byte code;
    private String desc;

    OrderStatusEnum(byte code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public byte getCode() {
        return code;
    }

    public void setCode(byte code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
